package cn.rocky.other;

import java.util.Arrays;
import java.util.List;

public class TestList02 {

    public static void main(String[] args) {
        List<String> list = Arrays.asList("Rocky", "Robin");
        System.out.println(list.getClass());

        Object[] array = list.toArray();
        System.out.println(array.getClass());

        array[0] = new Object();
    }
}
